﻿using Machine.Specifications;

namespace IAD13.fromTDDtoBDD.MSpec.given_an_account.with_100_EUR_of_balance
{
    public class when_I_withdrawal_80_EUR : with_balance_greater_than_zero
    {
        Because of = () => sut.Withdrawal(Amount.OfEuro(80));

        It should_return_20_EUR_of_balance =
            () => sut.Balance().ShouldEqual(Amount.OfEuro(20));
    }
}